
import play
import controllers

play.Application([
    ('GET  /', controllers.Main.index_html),
    ('GET  /default', controllers.Main.default),
    ('GET  /login', controllers.Authentication.login),
    ('POST /login', controllers.Authentication.do_login),
    ('GET  /logout', controllers.Authentication.logout),

    ('POST /add_post', controllers.Main.add_post),
    ('GET /list_posts', controllers.Main.list_posts),
    ('GET /view/{key}', controllers.Main.view_post),

])



